import 'package:flutter/material.dart';

class ConstrainedBoxApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body:Center(
        child: ConstrainedBox(
          constraints: BoxConstraints(
            minHeight: 200,
          ),
          child: Container(
            color: Colors.red[600],
            child: Text('hello word'),
          ),
        ),
      ) ,
    );
  }
}
